package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 评价的照片对象 cf_evaluate_image
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
public class CfEvaluateImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long evaluateId;

    /** 评价照片 */
    @Excel(name = "评价照片")
    private String photo;

    /** 订单编号 */
    private Long orderId;

    /** 服务名称 */
    private String serviceName;

    /** 用户名 */
    private String username;


    /** 评分 */
    private Long score;

    /** 评价内容 */
    private String comments;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commentTime;


    /** 手机号 */
    private String phone;
    public Long getOrderId() {
        return orderId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEvaluateId(Long evaluateId) 
    {
        this.evaluateId = evaluateId;
    }

    public Long getEvaluateId() 
    {
        return evaluateId;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    @Override
    public String toString() {
        return "CfEvaluateImage{" +
                "id=" + id +
                ", evaluateId=" + evaluateId +
                ", photo='" + photo + '\'' +
                ", orderId=" + orderId +
                ", serviceName='" + serviceName + '\'' +
                ", username='" + username + '\'' +
                ", score=" + score +
                ", comments='" + comments + '\'' +
                ", commentTime=" + commentTime +
                ", phone='" + phone + '\'' +
                '}';
    }
}
